﻿using RndMaterialDisposalService.Models;
using RndMaterialDisposalService.Models.Entitys;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.EntityFrameworkCore;

namespace RndMaterialDisposalService.Repository
{
    /// <summary>
    /// 
    /// </summary>
    public class EDPPlatformContext : DbContext
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="options"></param>
        public EDPPlatformContext(DbContextOptions<EDPPlatformContext> options) : base(options)
        {

        }

        /// <summary>
        /// 
        /// </summary>
        public DbSet<ToReadDto> ToRead { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DbSet<ToDoDto> ToDo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DbSet<VToDoneDto> VToDone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DbSet<VToReadDto> VToRead { get; set; }

    }
}
